package demo1;

public class Test {
    public static void main(String[] args) {
        Student student1 = new Student();
        System.out.println("=================");
        Student student2 = new Student();
    }
    public static void main3(String[] args) {
        Student student1 = new Student();
        System.out.println(student1.getAge());
    }
    public static void main2(String[] args) {
        Student student1 = new Student();
        student1.testFunc();
    }
    public static void main1(String[] args) {
        Student student1 = new Student(20,"xiaoming");
        student1.sleep();
        Student.eat();
        Student.count++;

        Student student2 = new Student();
        Student.count++;

        Student student3 = new Student();
        Student.count++;

        System.out.println(Student.count);
    }
}
